package interview.common;

public class LinkedNode {
	int data;
	LinkedNode next;
	
	public void setData(int d) {
		this.data = d;
	}
	
	public int getData() {
		return data;
	}
	
	public void setNext(LinkedNode n) {
		this.next = n;
	}
	
	public LinkedNode getNext() {
		return next;
	}
}
